<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <script>
      var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
        CSS.supports('top: constant(a)'))
      document.write(
        '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
        (coverSupport ? ', viewport-fit=cover' : '') + '" />')
    </script>
    <title></title>
    <!--preload-links-->
    <!--app-context-->
    
    <!-- uni.webview SDK -->
    <script type="text/javascript" src="/static/uni.webview.1.5.6.js"></script>
    <script>
      document.addEventListener('UniAppJSBridgeReady', function () {
        if (typeof webUni !== 'undefined') {
          window.webUni = webUni.webView;
          webUni.getEnv(function (res) {
            console.log('当前环境：' + JSON.stringify(res));
          });
        } else {
          console.log('webUni 未定义，使用默认环境检测');
        }
      });
    </script>
  </head>
  <body>
    <div id="app"><!--app-html--></div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
